IApi.WriteAxisProfileAcceleration 方法
設定軸的曲線加速度 (Profile Acceleration)。
命名空間:IntervalZero.KINGSTAR.Base.Api組合: IntervalZero.KINGSTAR.Base.Api (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
語法
KsError WriteAxisProfileAcceleration(
int Index,
int Value
)
Function WriteAxisProfileAcceleration(
Index As Integer,
Value As Integer
) As KsError
參數
Index
型別:int
軸索引。索引以 0 為起始;別名將影響此參數。
Value
型別:int
欲寫入的值。
回傳值
型別:KsError
方法的回傳值。
備註
- 在週期回呼中使用,以更新軸的曲線加速度 (Profile Acceleration)。
-
此函式只能在手動模式中使用,請見 McControlMode 列舉。
注意:曲線加速度 (Profile Acceleration) 僅在 EnableProfilePosition 啟用時才可使用。
可用的 EtherCAT 狀態
ecatOP
範例
N/A
參見